﻿@model Kunlun.ViewModels.ChangePasswordModel
@{
	ViewBag.Title = "更改密码";
}
@section Head
{
<link href="@Url.Content("~/Content/member/style.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
<div id="content">
	@Html.Partial("_MymenuPartial")
	@using (Html.BeginForm()) {
		@Html.ValidationSummary(true, "密码更改不成功。请更正错误并重试。")

		<fieldset class="right">
			<legend>更改密码</legend>
			<p>
				请使用以下表单更改密码。
			</p>
			<p>
				新密码必须至少包含 @Membership.MinRequiredPasswordLength 个字符。
			</p>
			<dl>
				<dt>@Html.LabelFor(m => m.OldPassword)</dt>
				<dd>
					@Html.PasswordFor(m => m.OldPassword, new {@class="input1" })</dd>
				<dd class="error">
					@Html.ValidationMessageFor(m => m.OldPassword)</dd></dl>
			<dl>
				<dt>@Html.LabelFor(m => m.NewPassword)</dt>
				<dd>
					@Html.PasswordFor(m => m.NewPassword, new { @class = "input1" })</dd>
				<dd class="error">
					@Html.ValidationMessageFor(m => m.NewPassword)</dd></dl>
			<dl>
				<dt>@Html.LabelFor(m => m.ConfirmPassword)</dt>
				<dd>
					@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "input1" })</dd>
				<dd class="error">
					@Html.ValidationMessageFor(m => m.ConfirmPassword)</dd></dl>
			<p class="bu">
			<input type="submit" class="button" value="提 交" />
			</p>
		</fieldset>
   

 }
</div>
